Rails.application.routes.draw do
  # resources :enents
  # get 'tickets/new'
  # root 'ticket#new'



  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  resources :tickets
 get 'tickets/index'
 root 'ticket#index'
 #  root to: 'tickets#index'
end
